﻿@using SiteManager.Core.Configs
@model SiteManager.Areas.Manager.Models.AdminLoginModel
           
@{
    Layout = "";
}

<!doctype html>
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 
<html lang="en" class="no-js"> <!--<![endif]-->

<head>
	<meta charset="UTF-8">
	<!--[if IE 8 ]><meta http-equiv="X-UA-Compatible" content="IE=7"><![endif]-->
	<title>管理员后台登陆</title>
	<meta name="description" content="" />
	<meta name="author" content="" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	
	<link rel="stylesheet" href="@Url.Content("~/Themes/Chromatron/css/style.css")" />
	<link rel="stylesheet" href="@Url.Content("~/Themes/Chromatron/css/jquery.tipsy.css")" />

	<script src="@Url.Content("~/Themes/Chromatron/js/libs/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Themes/Chromatron/js/libs/html5.js")" type="text/javascript"></script>
</head>
<body class="login">
	<section role="main">
	
		<a href="javascript:;" title="管理员后台登陆"></a>
	
		<article id="login-box">
			<p></p>
		
            @using (Html.BeginForm())
            {
				<fieldset>
					<dl>
						<dt>
							<label for="Username">用户名</label>
						</dt>
						<dd>
                            @Html.TextBoxFor(m => m.Username, new { @class = "large" })
						</dd>
						<dt>
							<label for="Password">密　码</label>
						</dt>
						<dd>
							@Html.PasswordFor(m => m.Password, new { @class = "large" })
						</dd>
					</dl>
				</fieldset>
				<button type="submit" class="right">登　陆</button>
            }
		</article>
	
		@if (!string.IsNullOrEmpty(ViewBag.Error))
        {
            <div class="notification error">
			<a href="#" class="close-notification" title="点此关闭" rel="tooltip">x</a>
			<p><strong>登陆错误：</strong> @ViewBag.Error</p>
		    </div>
        }
	</section>

	<script src="@Cdn.JqueryLib"></script>
	<script>	    !window.jQuery && document.write(unescape('%3Cscript src="@Url.Content("~/Themes/Chromatron/js/jquery/jquery-1.5.1.min.js")"%3E%3C/script%3E'))</script>
	<script src="@Url.Content("~/Themes/Chromatron/js/libs/selectivizr.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Themes/Chromatron/js/jquery/jquery.tipsy.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Themes/Chromatron/js/script.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $('#Username').focus();
    </script>
</body>

</html>